package cn.tedu.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("job_applicant_details")
public class UserDetails implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id; //数据id

    private Long userId;//用户id

    private String username; //用户姓名

    private Integer age; //年龄

    private Character gender; //性别

    private Date dateOfBirth; //出生日期

    private String userUrl;//用户头像

    private String phoneNumber; //手机号

    private String email; //邮箱

    private String roleName;//角色名称

    private String post; //职位描述

    private Integer jobStatus; //求职状态

    private String skills; //个人技能

    private String education; //学历

    private String type;//类型（学历）

    private String school;//学校

    private Date schoolTime;//在校时间

    private String associationActivity;//在校经历

    private String expectedCty;//期望工作城市

    private BigDecimal expectedSalary;//期望工资

    private String exceptJob;//期望工作

    private String strengths;//个人优势

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate; //数据创建时间

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified; //数据最后修改时间
}
